package com.lanxin.oa.fiancial.service;
import com.lanxin.bean.BxInformal;
import com.lanxin.bean.BxInformaltype;
import com.lanxin.bean.LcFlow;
import com.lanxin.util.PageBean;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.util.List;


public interface ApplyService {
    public PageBean<BxInformal> getDeptPage(HttpSession session,Integer page, Integer pageSize,BxInformal bxInformal);

    List<BxInformaltype> selectBxType();

    void insertBxInformal(BxInformal bxInformal, HttpServletRequest request , MultipartFile[] content,Integer[] typeid,double[] applyAmount,String[] description,Integer[] detailoid,Integer[] accessaryoid,String[] contentfile,String[] dname);

    BxInformal BxInFormalById(Integer oid);

    List<LcFlow> selectLcFlow();

    boolean updateBxStatus(Integer oid);

    boolean deleteBxInformal(Integer oid);

    PageBean<BxInformal> getbxinFormailPage(Integer page, Integer pageSize, BxInformal bxInformal,String empName);

    PageBean<BxInformal> getregisterPage(Integer page, Integer pageSize, BxInformal bxInformal, String empName);

    void updatePayeeInformal(BxInformal bxInformal,double[] amount,Integer[] doid);

    void xiazai(Integer oid, HttpServletResponse response, HttpServletRequest request);
}
